<template>
    <div class="nav bg-white">
        <div class="page-pad-pk simple">
            <van-icon
                name="arrow-left"
                size="22"
                color="#212121"
                @click="onClickLeft"
            />
        </div>
        <div>{{title}}</div>
    </div>
</template>
<script>
    export default {
        name: "NavBarSimple",
        props:{
          title :{
              type : String,
              default: ""
          }
        },
        methods:{
            onClickLeft() {
                this.$emit("click-left")
            }
        }
    }
</script>

<style lang="scss" scoped>
    @import "../treasure";
.nav{
    height: 48px;
    width: 100%;
    z-index:99;
    border-bottom:1px solid $gray-200;
    .simple{
        padding-top: 15px;
    }
}
</style>